package com.example.pojo;
/**
 * 出入库明细表
 * @author Administrator
 *
 */
public class Detail {
	private Integer serno;//行号
    private String  source;//来源单号
    private String  singlecase;//来源单况
    private String  warehouseid;//仓库编号
    private double  number;//数量 
    private double  price;//单价
    private double amountof ;//总金额
	public Integer getSerno() {
		return serno;
	}
	public void setSerno(Integer serno) {
		this.serno = serno;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getSinglecase() {
		return singlecase;
	}
	public void setSinglecase(String singlecase) {
		this.singlecase = singlecase;
	}
	public String getWarehouseid() {
		return warehouseid;
	}
	public void setWarehouseid(String warehouseid) {
		this.warehouseid = warehouseid;
	}
	public double getNumber() {
		return number;
	}
	public void setNumber(double number) {
		this.number = number;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public double getAmountof() {
		return amountof;
	}
	public void setAmountof(double amountof) {
		this.amountof = amountof;
	}
	public Detail(Integer serno, String source, String singlecase,
			String warehouseid, double number, double price, double amountof) {
		super();
		this.serno = serno;
		this.source = source;
		this.singlecase = singlecase;
		this.warehouseid = warehouseid;
		this.number = number;
		this.price = price;
		this.amountof = amountof;
	}
	public Detail(String source, String singlecase, String warehouseid,
			double number, double price, double amountof) {
		super();
		this.source = source;
		this.singlecase = singlecase;
		this.warehouseid = warehouseid;
		this.number = number;
		this.price = price;
		this.amountof = amountof;
	}
	public Detail() {
		super();
	}
	@Override
	public String toString() {
		return "Detail [serno=" + serno + ", source=" + source
				+ ", singlecase=" + singlecase + ", warehouseid=" + warehouseid
				+ ", number=" + number + ", price=" + price + ", amountof="
				+ amountof + "]";
	}
}
